<template>
    <div>
        <section id='a'></section>

    </div>
</template>

<script>
    import './tinymce.min.js'
    import './themes/silver/theme.min.js'
    import "./plugins/image/plugin.min.js"; // 插入上传图片插件
    import "./plugins/code/plugin.min.js"; // 插入上传图片插件
    export default {
        name: '',
        data() {
            return {
                option: {
                    branding: false,
                    menubar: true,
                    selector: '#a',
                    plugins: "image,code",
                    language_url: '/static/langs/zh_CN.js',
                    language: 'zh_CN',
                    skin_url: '/static/skins/ui/oxide',
                    content_css: '/static/skins/content/default/content.min.css',
                    quickbars_selection_toolbar: 'quickimage'
                }
            }
        },
        mounted() {
            tinymce.init(this.option)
        }
    }

</script>

<style lang="less">
    //@import url('./skins/ui/oxide/skin.min.css');

</style>
